package com.cyx.spring.jdbc.rowmapper;

import java.sql.ResultSet;

/**
 * BoolMapper
 *
 * @author yongxiang
 * @date 2024/10/25 9:45
 * @desc
 */
public class BoolMapper implements RowMapper<Boolean>{
    @Override
    public Boolean mapRow(ResultSet rs) throws Exception {
        return rs.getBoolean(1);
    }
}
